import React, { Component,lazy,Suspense } from 'react'
import {Switch,Route,Redirect,NavLink} from 'react-router-dom'
import Loading from '../../components/common/Loading'

export default class Home extends Component {
    render() {
        return (
            <div id="home">
                <NavLink to="/admin">登录</NavLink>
                <Suspense fallback={<Loading/>}>
                    <Switch>
                        <Route></Route>
                    </Switch>
                </Suspense>
            </div>
        )
    }
}
